﻿using System.IO;
using Styx.Common;
using Styx.Helpers;

namespace CustomProtectedItemInstaller
{
    public class CP2ISettings : Settings
    {

        public static readonly CP2ISettings Instance = new CP2ISettings();
        public CP2ISettings()
            : base(Path.Combine(Utilities.AssemblyDirectory, string.Format(@"Settings\{0}\{1}.xml", "CustomProtectedItemInstaller", "Settings")))
        {
            Load();
        }

        [Setting, DefaultValue(0)]
        public int CurrentRevision { get; set; }

    }
}
